<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="cn.ainit.sys.utils.DateTimeStr"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>审批</title>
    <meta http-equiv="pragma" content="no-cache">
     <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/model.js"></script> 
   	 <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/pages/css/approve.css" />
   	 <script type="text/javascript" src="${pageContext.request.contextPath}/model/js/jquery.ainit-1.1.0.js"></script>
  </head>
 <body>
	 <div id="apprivePanel" >
	    <div id="approveDiv">
	        <form action="" >
	            <div id="approveTop" >
	                <div style="float:left;">
	                    <span>单号：</span> ${approveReturnObj.djCode}&nbsp;&nbsp;&nbsp;
	                    <span>名称： </span> ${approveReturnObj.dsName}
	                 </div>   
	                  <a id='closeApprove' onclick="closeApprovePanel(this)" pre="${approveReturnObj.prefix}">[关闭]</a>
	                  <a id='sureApprove' sflag="${approveReturnObj.sflag}" verifyDsId="${approveReturnObj.verifyDsId}" djId="${approveReturnObj.djId}" dsId="${approveReturnObj.dsId}" pre="${approveReturnObj.prefix}"  onclick="sureApprove(this)">[确定审批]&nbsp;&nbsp;&nbsp;</a>
	            	  <a id='rejectApprove'  style="display: none;" sflag="${approveReturnObj.sflag}" verifyDsId="${approveReturnObj.verifyDsId}" djId="${approveReturnObj.djId}" dsId="${approveReturnObj.dsId}" pre="${approveReturnObj.prefix}"  onclick="sureReject(this)">[驳回]&nbsp;&nbsp;&nbsp;</a>
	            </div>
	            <div id="approveMain" style="width:90%;margin: auto;padding-bottom: 35px;">
	                <c:forEach items="${approveReturnObj.listAppr}" var="list">
	                	<!-- -----审批级别分组--------------------------------------------------------------->
	                    <div style="display:inline-block;zoom:1;text-align: left;padding-top:10px;">
							 <div id="d_uid_19" style="width:600px;">
									<div class="caption-bar">
										<div class="collapse-button" onclick="closeP(this)"></div>
										<div class="caption">${list.approveLevelName}</div>
										<div class="bar-right"></div>
									</div>
									<div class="body" style="position: relative;">
									<div class="d-container-ui-default" style="overflow: hidden; position: relative; text-align: left;padding-top:10px;">
						<!--------------------------------------------------------------------------------->
	                    <table class='tableBord'  approveLevel="${list.approveLevel}">
	                        <tr>
	                            <td class="nameApp_td">审批名称</td>
	                            <td class="inputApp_td" colspan='5'><input class="ainitApp_input"  type='text' value="${list.examineTitle}" /> </td>
	                        </tr>
	                        <tr>
	                            <td class="nameApp_td" >审批意见</td>
	                            <td colspan='5' class="inputApp_td">
	                                <textarea class="ainitApp_textarea"  id="examineContent"> ${list.examineContent}</textarea>
	                             </td>      
	                        </tr>
	                        <tr>
	                            <td class="nameApp_td" >审批结果</td>
	                            <td class="inputApp_td" >
	                            	<select id="isExamine" selVal="${list.isExamine}"  ediType="${list.ediType}" class="ainitApp_select"></select>
	                            </td>
	                            <td class="nameApp_td">审批日期</td>
	                            <td class="inputApp_td">
	                                <input type='text' class="ainitApp_input read_color"  auto="true" readonly="readonly"  value="${list.examineDate}"/>
	                            </td>
	                            <td class="nameApp_td">审批人</td>
	                            <td class="inputApp_td">
	                                <input type='text' auto="true" readonly="readonly"  ediType="dz_operators"  value="${list.examineMan}" class="ainitApp_input read_color" />
	                            </td>
	                        </tr>
	                    </table>
	                    <!-- --S---------------------------------------------------------------- -->
	                    </div></div></div></div>
	                    <!-- ---E--------------------------------------------------------------- -->
	                </c:forEach>
	            </div>
	        </form>
	    </div>
	</div>
</body>
</html>
